package com.jiazhong.basic.pack0316.thread;

public class DemoB extends Thread {

    @Override
    public void run() {
        String name = Thread.currentThread().getName();
        for (int i = 1; i < 21; i++) {
            System.out.println(name + "运行了：" + i);
        }
    }
}
